package org.cuijq.thinking.in.spring.dependency.injection;

import org.cuijq.thinking.in.spring.ioc.domain.User;

/**
 * @author by CuiJQ
 * @Classname UserHolder
 * @Description UserHolder Description
 * @Date 2021/6/29 9:15
 */
public class UserHolder {

  public UserHolder() {
  }

  public UserHolder(User user) {
    this.user = user;
  }

  private User user;

  public User getUser() {
    return user;
  }

  public void setUser(User user) {
    this.user = user;
  }

  @Override
  public String toString() {
    return "UserHolder{" +
        "user=" + user +
        '}';
  }
}
